<?
	include('header.php');
	if($_GET['id']) {
		$drizzo_post_id = $_GET['id'];
	}
?>
		<div id="main">

			<h2>Posts and Pages Tagged with '<? echo $drizzo_post_id; ?>'</h2>
			
<?
		$the_posts = drizzo_get_the_posts(10, 0, "publish", "blog"); // Start the Loop
	
		foreach($the_posts as $the_post) {
?>
			<div class="post">
				<h2><a href="<? echo drizzo_post_permalink(); ?>"><? echo drizzo_post_title(); ?></a></h2>

				<p class="post_meta">By <? echo drizzo_post_author("nice_name"); ?> on <? echo drizzo_post_date(); ?></p>
				<p class="content"><? echo drizzo_post_content(); ?></p>
				<p class="tag_meta"><strong>Tags:</strong> <? echo drizzo_post_tags(); ?> | <strong>Comments:</strong> <? echo drizzo_comment_count(); echo drizzo_edit_link(" | ", ""); ?></p>
			</div>
<?
		}
?>

			<br class="clear" />

		</div>
		
		<div id="sidebar">

			<h3>Asides</h3>
			<? echo drizzo_asides(1); ?>

			<h3>Recent Posts</h3>
			<? echo drizzo_recent_posts(); ?>

			<h3>Top Tags</h3>
			<? echo drizzo_tag_cloud(25); ?>
			
		</div>
<?
	include('footer.php');
?>